package factory.simplefactory;

public class SimpleFactory {

    public static Car getCar(){
        return new Car();
    }

    public static Train getTrain(){
        return  new Train();
    }
}
